

# 字符串格式化：format方法、f-string

# format
s = "{}是个{}学生"

name = "张三"
good = "大"

s1 = s.format(name, good)
print(s1)


# f-string

name1 = "李四"

s2 = f"{name1}是个好学生"
print(s2)
